package com.dayuanit.edu;

import com.dayuanit.tools.School;

public class Vehicle{
	private String color;
	private String type;

	public Vehicle(){

	}

	public void move(String name,School school){
		System.out.println(name+"骑"+getColor()+getType()+"去"+school.getName1()+school.getAdds());
	}

	public void setColor(String color){
		this.color=color;
	}

	public String getColor(){
		return color;
	}

	public void setType(String type){
		this.type=type;
	}

	public String getType(){
		return type;
	}
}